﻿@import "../_theme";

#page-wraper {
    margin-bottom: 1rem;
    padding:5px;
    &.no-order {
        height: 100%;
        text-align: center;

        & > h3 {
            position: absolute;
            height: 96px;
            top: 50%;
            margin-top: 0;
            width: 100%;
        }

        &:after {
            content: '';
            position: absolute;
            height: 96px;
            width: 96px;
            top: 50%;
            left: 50%;
            margin-top: -96px;
            margin-left: -48px;
            display: inline-block;
            background-image: url('/UI/imgs/icon-tags.png');
            background-repeat: no-repeat;
            background-position: -230px -115px;
        }
    }
}

#page-head {
    width: 100%;
}

#page-title {
    color: $ClrTheme;
    margin: 10px 0;

    & > div {
        & > i {
            font-size: 5rem;
            float: left;
            margin-right: 10px;
        }

        & > h6 {
            color: lighten($ClrThemeTxt,40);
        }
    }
}
#ord-toolbar {
    background-color: #3caed4;
    position: fixed;
    bottom: 0;
    height: 6rem;
    left: 0;
    z-index: 2;
}
#ord-head {
    background-color: $ClrMsg;
    border: 1px solid $ClrMsgBorder;
    padding: 5px;

    &.aborted {
        background-color: lighten($ClrImportant,15);
        color: white;
    }
}

#ord-status {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    font-size: 3rem;

    &.Pending {
        color: $ClrTheme;
    }

    &.Aborted {
        color: $ClrImportant;
    }

    &.Completed {
        color: $ClrDisable;
    }

    &.Active {
        color: $ClrOk;
    }
}
.warning-tip{
    margin-bottom:5px;
}
.Tabs {
    font-weight: bold;
    color: lighten($ClrThemeTxt,20);

    & > span {
        padding: 1rem 2rem;
        display: inline-block;

        &.active {
            color: $ClrTheme;
        }
    }

    & > .tab-hover {
        border: none;
        height: 100%;
        background-color: white;
        top: 0;
        z-index: -1;
        box-shadow: 0px 5px 0px 0px white, 0 0 3px 0 $ClrTheme;
    }

    &.aborted {
        & > .tab-hover {
            background-color: transparent;
            box-shadow: 0px 5px 0px 0px $ClrControllerBk, 0 0 3px 0 lighten($ClrImportant,15);
        }
    }
}

.ord-view {
    min-height: 50rem;
    height: auto;
    padding:5px;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 3px 0 $ClrTheme;
        z-index: -2;
        background-color: white;
    }

    &.aborted {
        color: rgba(215, 210, 210, 0.80);

        &::before {
            box-shadow: 0 0 3px 0 lighten($ClrImportant,15);
            background-color: transparent;
        }
    }
}

.ov-logs {
    max-height: 80rem;
    overflow-y: auto;
    padding:5px;
}

#confirm-order {
    width: 100%;
    height: 100%;
    font-size: 3rem;
}